Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aiofiles import cleanup, fix warnings in pyproject.toml #906

Merged
merged 3 commits into from
Apr 12, 2024

Conversation

mkmer
Copy link
Contributor

@mkmer mkmer commented Apr 12, 2024

Description:

Reviewing home-assistant/core#108833 I noticed a bit of double importing. This should not change the behavior just tidy things up.

Additionally, received a few warnings from ruff/lint in the pyporject.toml files. Implemented the recommended changes

Related issue (if applicable): fixes #

Checklist:

  • Local tests with tox run successfully PR cannot be meged unless tests pass
  • Changes tested locally to ensure platform still works as intended
  • Tests added to verify new code works

@mkmer mkmer mentioned this pull request Apr 12, 2024
3 tasks
don't redefine builtin functions
@mkmer
Copy link
Contributor Author

mkmer commented Apr 12, 2024

The HA guys have confirmed my bad import practice is causing the problem - I guess we need to generate a release :(
The users container has aiofiles 0.6.0 even though blinkpy requirements is =>2023.1.0 - that may also be part of the issue, but this PR fixes it.

@fronzbot fronzbot merged commit e44e6ca into fronzbot:dev Apr 12, 2024
5 of 6 checks passed
@mkmer mkmer deleted the aiofiles-import-cleanup branch April 15, 2024 11:09
@mkmer
Copy link
Contributor Author

mkmer commented Apr 15, 2024

Can we do a release for this change soon? Looks like all of the PR's are in (and I would like to get the HA PR released).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants